package com.example.luoyin.dagger2test1.component;

import com.example.luoyin.dagger2test1.ui.activity.component.RepositoriesListActivityComponent;
import com.example.luoyin.dagger2test1.ui.activity.component.RepositoryDetailsActivityComponent;
import com.example.luoyin.dagger2test1.ui.activity.module.RepositoriesListActivityModule;
import com.example.luoyin.dagger2test1.ui.activity.module.RepositoryDetailsActivityModule;
import com.example.luoyin.dagger2test1.module.UserModule;
import com.example.luoyin.dagger2test1.scope.UserScope;

import dagger.Subcomponent;

/**
 * Created by Miroslaw Stanek on 23.06.15.
 */
@UserScope
@Subcomponent(
        modules = {
                UserModule.class
        }
)
public interface UserComponent {

    RepositoriesListActivityComponent plus(RepositoriesListActivityModule module);

    RepositoryDetailsActivityComponent plus(RepositoryDetailsActivityModule module);
}